import request from '@/utils/request'
import data from "@/views/system/dict/data";



// 查询列表
export function getList(query) {
  return request({
    url: '/amac/contract/list',
    method: 'get',
    params: query
  })
}

//新增/修改保存
export function addOrUpdate(data) {
  return request({
    url: '/amac/contract/addOrUpdate',
    method: 'put',
    data: data
  })
}

// 删除
export function deleteByIds(ids) {
  return request({
    url: '/amac/contract/' + ids,
    method: 'delete'
  })
}
